package com.netease.pris.activity.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;

public class PRISActivityTitleTextView extends LinearLayout
{
  LinearLayout a;
  TextView b;

  public PRISActivityTitleTextView(Context paramContext)
  {
    super(paramContext);
  }

  public PRISActivityTitleTextView(Context paramContext, AttributeSet paramAttributeSet)
  {
    super(paramContext, paramAttributeSet);
  }

  public void a()
  {
    this.a.removeAllViews();
  }

  public void a(int paramInt)
  {
    this.b.setText(paramInt);
  }

  public void a(View paramView)
  {
    if (paramView.getLayoutParams() == null)
      paramView.setLayoutParams(new LinearLayout.LayoutParams(-2, -2));
    this.a.addView(paramView);
    invalidate();
  }

  public void a(String paramString)
  {
    this.b.setText(paramString);
  }

  protected void onFinishInflate()
  {
    super.onFinishInflate();
    this.b = ((TextView)findViewById(2131558687));
    this.a = ((LinearLayout)findViewById(2131558688));
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.PRISActivityTitleTextView
 * JD-Core Version:    0.6.0
 */